package com.powernode.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 字典类型表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_dic_type")
public class DicType {
    /**
     * 主键，自动增长，字典类型ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 字典类型代码
     */
    @TableField(value = "type_code")
    private String typeCode;

    /**
     * 字典类型名称
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}